<?php
session_start();
foreach($_SESSION["clientes"] as $i=>$val){
        if($val==$_GET["id"]){
            
        unset ($_SESSION["clientes"][$i]);
        }
        
    }

if(count($_SESSION["clientes"])==0)
    unset($_SESSION["clientes"]);
echo '<script>location.reload();</script>';
?>
